package com.leisurexi.ioc.metadata;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author: leisurexi
 * @date: 2020-06-25 0:58
 * @since JDK 1.8
 */
public class UserNamespaceHandler extends NamespaceHandlerSupport {

	@Override
	public void init() {
		// 将 "user" 元素注册对应的 BeanDefinitionParser 实现
		registerBeanDefinitionParser("user", new UserBeanDefinitionParser());
	}

}
